﻿using Abp.Domain.Entities.Auditing;
using FutureApp.Users;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace FutureApp.Shop
{
    /// <summary>
    /// 订单
    /// </summary>
    [Table("OrderReceipts")]
    public class OrderReceipt : FullAuditedEntity<Guid, User>
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNumber { get; set; }

        /// <summary>
        /// 客户Id
        /// </summary>
        public Guid CustomerId { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public OrderReceiptStatus Status { get; set; }
    }
}
